﻿using FastEventBus.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace FastEventBus.Definition
{
    public interface IFastEventStroage
    {
        void RegistHandler(IFastEventHandler Handler);
        List<IFastEventHandler> ResolveHandler(string ChannelName);
        void WriteEvent(FastEventParam Param);
        FastEventParam ReadEvent(string ChannelName,string EventID);
        void ACKEvent(string ChannelName,string EventID);
    }
}
